Skip to content

JS: Aggregate tests cases - #4520

Merged
erik-krogh merged 41 commits into
github:mainfrom
erik-krogh:LessTests
Oct 20, 2020
Merged

JS: Aggregate tests cases#4520
erik-krogh merged 41 commits into
github:mainfrom
erik-krogh:LessTests

Conversation

@erik-krogh

@erik-krogh erik-krogh commented Oct 20, 2020

Copy link
Copy Markdown
Contributor

Aggregates a lot of .ql files that were in the same folder into a single tests.ql file.

Each select statement has been rewritten as a query predicate ....

Previously our test folder had 820 .ql/.qlref files, with this PR that is down to 628.

This reduces the time taken to run our test suite from 60 minutes to 43 minutes.

@github-actions github-actions Bot added the JS label Oct 20, 2020
@erik-krogh
erik-krogh marked this pull request as ready for review October 20, 2020 13:55
@erik-krogh
erik-krogh requested a review from a team as a code owner October 20, 2020 13:55
@esbena

esbena commented Oct 20, 2020

Copy link
Copy Markdown
Contributor

That is a nice speedup!
Just checking: did you use the script @max-schaefer wrote a very long time ago to make this conversion?

@erik-krogh

erik-krogh commented Oct 20, 2020

Copy link
Copy Markdown
Contributor Author

That is a nice speedup!
Just checking: did you use the script @max-schaefer wrote a very long time ago to make this conversion?

No.

@asgerf asgerf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

I've only done a superficial review for obvious reasons, but LGTM

@erik-krogh
erik-krogh merged commit 9964885 into github:main Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants